package com.hsd.znsh.service;

import com.hsd.znsh.entity.Gateway;
import com.hsd.znsh.entity.Sensor;
import com.hsd.znsh.entity.SensorType;
import com.hsd.znsh.entity.User;
import com.hsd.znsh.pojo.output.GatewayVO;
import com.hsd.znsh.pojo.output.SensorVO;
import com.hsd.znsh.pojo.query.SensorQuery;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface GatewayService extends BaseService{

    Gateway addGateway(Gateway gateway);

    Gateway updateGateway(Gateway gateway);

    void deleteGateway(String gatewayId);

    Gateway updateGatewayStatus(Gateway gateway);

    List<Gateway> getGatewayListByHostSn(String hostSn);

    GatewayVO getGatewayInfoByGatewayId(String gatewayId);


}
